home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2000-02-25 | 6.4 KB | [TEXT/CWIE] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Fri Feb 25 05:00:00 2000, modified Fri Feb 25 05:00:00 2000, creator 'CWIE', type ASCII, 5901 bytes "WESelectors.c" , at 0x178d 286 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [CWIE] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 57 45 53 65 6c 65 | 63 74 6f 72 73 2e 63 00 |..WESele|ctors.c.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 17 0d 00 | 00 01 1e b4 dc 03 20 b4 |........|...... .|
|00000060| dc 03 20 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.. .....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e8 21 00 00 |........|.....!..|
|00000080| 2f 2a 0d 20 2a 09 57 45 | 53 65 6c 65 63 74 6f 72 |/*. *.WE|Selector|
|00000090| 73 2e 63 0d 20 2a 0d 20 | 2a 09 57 41 53 54 45 20 |s.c. *. |*.WASTE |
|000000a0| 50 52 4f 4a 45 43 54 0d | 20 2a 20 20 52 6f 75 74 |PROJECT.| * Rout|
|000000b0| 69 6e 65 73 20 66 6f 72 | 20 6d 61 6e 69 70 75 6c |ines for| manipul|
|000000c0| 61 74 69 6e 67 20 73 65 | 6c 65 63 74 6f 72 20 6c |ating se|lector l|
|000000d0| 6f 6f 6b 75 70 20 74 61 | 62 6c 65 73 0d 20 2a 0d |ookup ta|bles. *.|
|000000e0| 20 2a 20 20 43 6f 70 79 | 72 69 67 68 74 20 28 63 | * Copy|right (c|
|000000f0| 29 20 31 39 39 33 2d 31 | 39 39 38 20 4d 61 72 63 |) 1993-1|998 Marc|
|00000100| 6f 20 50 69 6f 76 61 6e | 65 6c 6c 69 0d 20 2a 09 |o Piovan|elli. *.|
|00000110| 41 6c 6c 20 52 69 67 68 | 74 73 20 52 65 73 65 72 |All Righ|ts Reser|
|00000120| 76 65 64 0d 20 2a 0d 20 | 2a 20 20 43 20 70 6f 72 |ved. *. |* C por|
|00000130| 74 20 62 79 20 44 61 6e | 20 43 72 65 76 69 65 72 |t by Dan| Crevier|
|00000140| 0d 20 2a 0d 20 2a 2f 0d | 0d 0d 23 69 6e 63 6c 75 |. *. */.|..#inclu|
|00000150| 64 65 20 22 57 41 53 54 | 45 49 6e 74 66 2e 68 22 |de "WAST|EIntf.h"|
|00000160| 0d 0d 2f 2f 20 4d 50 57 | 20 63 61 6e 27 74 20 68 |..// MPW| can't h|
|00000170| 61 6e 64 6c 65 20 46 49 | 45 4c 44 5f 44 45 53 43 |andle FI|ELD_DESC|
|00000180| 20 73 74 75 66 66 20 28 | 64 75 68 21 29 0d 0d 23 | stuff (|duh!)..#|
|00000190| 69 66 64 65 66 20 61 70 | 70 6c 65 63 0d 0d 2f 2f |ifdef ap|plec..//|
|000001a0| 23 65 72 72 6f 72 20 22 | 68 61 6e 64 2d 6d 61 64 |#error "|hand-mad|
|000001b0| 65 20 73 65 6c 65 63 74 | 6f 72 20 74 61 62 6c 65 |e select|or table|
|000001c0| 73 20 6e 6f 74 20 75 70 | 2d 74 6f 2d 64 61 74 65 |s not up|-to-date|
|000001d0| 21 22 0d 0d 2f 2f 20 74 | 68 69 73 20 69 73 20 2a |!"..// t|his is *|
|000001e0| 2a 75 67 6c 79 2a 2a 20 | 61 6e 64 20 77 69 6c 6c |*ugly** |and will|
|000001f0| 20 62 72 65 61 6b 20 69 | 66 20 77 65 20 63 68 61 | break i|f we cha|
|00000200| 6e 67 65 20 74 68 65 20 | 64 65 63 6c 61 72 61 74 |nge the |declarat|
|00000210| 69 6f 6e 20 6f 66 20 57 | 45 52 65 63 0d 0d 57 45 |ion of W|ERec..WE|
|00000220| 4c 6f 6f 6b 75 70 54 61 | 62 6c 65 20 5f 77 65 4d |LookupTa|ble _weM|
|00000230| 61 69 6e 53 65 6c 65 63 | 74 6f 72 54 61 62 6c 65 |ainSelec|torTable|
|00000240| 5b 5d 20 3d 20 7b 0d 7b | 20 77 65 52 65 66 43 6f |[] = {.{| weRefCo|
|00000250| 6e 2c 20 20 20 20 20 09 | 09 09 09 30 78 30 30 37 |n, .|...0x007|
|00000260| 38 2c 20 30 78 30 30 30 | 34 20 7d 2c 0d 7b 20 77 |8, 0x000|4 },.{ w|
|00000270| 65 50 6f 72 74 2c 09 09 | 09 09 09 09 30 78 30 30 |ePort,..|....0x00|
|00000280| 30 30 2c 20 30 78 30 30 | 30 34 20 7d 2c 0d 7b 20 |00, 0x00|04 },.{ |
|00000290| 77 65 54 65 78 74 2c 09 | 09 09 09 09 09 30 78 30 |weText,.|.....0x0|
|000002a0| 30 30 34 2c 20 30 78 30 | 30 30 34 20 7d 2c 0d 7b |004, 0x0|004 },.{|
|000002b0| 20 77 65 43 68 61 72 54 | 6f 50 69 78 65 6c 48 6f | weCharT|oPixelHo|
|000002c0| 6f 6b 2c 09 09 09 30 78 | 30 30 43 30 2c 20 30 78 |ok,...0x|00C0, 0x|
|000002d0| 30 30 30 34 20 7d 2c 0d | 7b 20 77 65 43 68 61 72 |0004 },.|{ weChar|
|000002e0| 42 79 74 65 48 6f 6f 6b | 2c 09 09 09 09 30 78 30 |ByteHook|,....0x0|
|000002f0| 30 43 43 2c 20 30 78 30 | 30 30 34 20 7d 2c 0d 7b |0CC, 0x0|004 },.{|
|00000300| 20 77 65 43 68 61 72 54 | 79 70 65 48 6f 6f 6b 2c | weCharT|ypeHook,|
|00000310| 09 09 09 09 30 78 30 30 | 44 30 2c 20 30 78 30 30 |....0x00|D0, 0x00|
|00000320| 30 34 20 7d 2c 0d 7b 20 | 77 65 43 6c 69 63 6b 4c |04 },.{ |weClickL|
|00000330| 6f 6f 70 2c 09 09 09 09 | 09 30 78 30 30 39 43 2c |oop,....|.0x009C,|
|00000340| 20 30 78 30 30 30 34 20 | 7d 2c 0d 7b 20 77 65 44 | 0x0004 |},.{ weD|
|00000350| 72 61 77 54 65 78 74 48 | 6f 6f 6b 2c 09 09 09 09 |rawTextH|ook,....|
|00000360| 30 78 30 30 42 38 2c 20 | 30 78 30 30 30 34 20 7d |0x00B8, |0x0004 }|
|00000370| 2c 0d 7b 20 77 65 45 72 | 61 73 65 48 6f 6f 6b 2c |,.{ weEr|aseHook,|
|00000380| 09 09 09 09 09 30 78 30 | 30 44 34 2c 20 30 78 30 |.....0x0|0D4, 0x0|
|00000390| 30 30 34 20 7d 2c 0d 7b | 20 77 65 46 6c 75 78 50 |004 },.{| weFluxP|
|000003a0| 72 6f 63 2c 09 09 09 09 | 09 30 78 30 30 44 38 2c |roc,....|.0x00D8,|
|000003b0| 20 30 78 30 30 30 34 20 | 7d 2c 0d 7b 20 77 65 4c | 0x0004 |},.{ weL|
|000003c0| 69 6e 65 42 72 65 61 6b | 48 6f 6f 6b 2c 09 09 09 |ineBreak|Hook,...|
|000003d0| 09 30 78 30 30 43 34 2c | 20 30 78 30 30 30 34 20 |.0x00C4,| 0x0004 |
|000003e0| 7d 2c 0d 7b 20 77 65 4c | 69 6e 65 41 72 72 61 79 |},.{ weL|ineArray|
|000003f0| 2c 09 09 09 09 09 30 78 | 30 30 30 38 2c 20 30 78 |,.....0x|0008, 0x|
|00000400| 30 30 30 34 20 7d 2c 0d | 7b 20 77 65 50 69 78 65 |0004 },.|{ wePixe|
|00000410| 6c 54 6f 43 68 61 72 48 | 6f 6f 6b 2c 09 09 09 30 |lToCharH|ook,...0|
|00000420| 78 30 30 42 43 2c 20 30 | 78 30 30 30 34 20 7d 2c |x00BC, 0|x0004 },|
|00000430| 0d 7b 20 77 65 52 75 6e | 41 72 72 61 79 2c 09 09 |.{ weRun|Array,..|
|00000440| 09 09 09 30 78 30 30 31 | 30 2c 20 30 78 30 30 30 |...0x001|0, 0x000|
|00000450| 34 20 7d 2c 0d 7b 20 77 | 65 53 63 72 6f 6c 6c 50 |4 },.{ w|eScrollP|
|00000460| 72 6f 63 2c 09 09 09 09 | 09 30 78 30 30 41 30 2c |roc,....|.0x00A0,|
|00000470| 20 30 78 30 30 30 34 20 | 7d 2c 0d 7b 20 77 65 53 | 0x0004 |},.{ weS|
|00000480| 74 79 6c 65 54 61 62 6c | 65 2c 09 09 09 09 09 30 |tyleTabl|e,.....0|
|00000490| 78 30 30 30 43 2c 20 30 | 78 30 30 30 34 20 7d 2c |x000C, 0|x0004 },|
|000004a0| 0d 7b 20 77 65 57 6f 72 | 64 42 72 65 61 6b 48 6f |.{ weWor|dBreakHo|
|000004b0| 6f 6b 2c 09 09 09 09 30 | 78 30 30 43 38 2c 20 30 |ok,....0|x00C8, 0|
|000004c0| 78 30 30 30 34 20 7d 2c | 0d 0d 23 69 66 20 57 41 |x0004 },|..#if WA|
|000004d0| 53 54 45 5f 54 53 4d 5f | 53 55 50 50 4f 52 54 0d |STE_TSM_|SUPPORT.|
|000004e0| 7b 20 77 65 54 53 4d 50 | 6f 73 74 55 70 64 61 74 |{ weTSMP|ostUpdat|
|000004f0| 65 2c 09 09 09 09 30 78 | 30 30 41 38 2c 20 30 78 |e,....0x|00A8, 0x|
|00000500| 30 30 30 34 20 7d 2c 0d | 7b 20 77 65 54 53 4d 50 |0004 },.|{ weTSMP|
|00000510| 72 65 55 70 64 61 74 65 | 2c 09 09 09 09 30 78 30 |reUpdate|,....0x0|
|00000520| 30 41 34 2c 20 30 78 30 | 30 30 34 20 7d 2c 0d 7b |0A4, 0x0|004 },.{|
|00000530| 20 77 65 54 53 4d 44 6f | 63 75 6d 65 6e 74 49 44 | weTSMDo|cumentID|
|00000540| 2c 09 09 09 09 30 78 30 | 30 38 30 2c 20 30 78 30 |,....0x0|080, 0x0|
|00000550| 30 30 34 20 7d 2c 0d 23 | 65 6e 64 69 66 0d 0d 23 |004 },.#|endif..#|
|00000560| 69 66 20 57 41 53 54 45 | 5f 44 52 41 47 5f 41 4e |if WASTE|_DRAG_AN|
|00000570| 44 5f 44 52 4f 50 0d 7b | 20 77 65 43 75 72 72 65 |D_DROP.{| weCurre|
|00000580| 6e 74 44 72 61 67 2c 09 | 09 09 09 30 78 30 30 38 |ntDrag,.|...0x008|
|00000590| 43 2c 20 30 78 30 30 30 | 34 20 7d 2c 0d 7b 20 77 |C, 0x000|4 },.{ w|
|000005a0| 65 50 72 65 54 72 61 63 | 6b 44 72 61 67 48 6f 6f |ePreTrac|kDragHoo|
|000005b0| 6b 2c 09 09 09 30 78 30 | 30 41 43 2c 20 30 78 30 |k,...0x0|0AC, 0x0|
|000005c0| 30 30 34 20 7d 2c 0d 7b | 20 77 65 48 69 6c 69 74 |004 },.{| weHilit|
|000005d0| 65 44 72 6f 70 41 72 65 | 61 48 6f 6f 6b 2c 20 09 |eDropAre|aHook, .|
|000005e0| 09 30 78 30 30 42 34 2c | 20 30 78 30 30 30 34 20 |.0x00B4,| 0x0004 |
|000005f0| 7d 2c 0d 7b 20 77 65 54 | 72 61 6e 73 6c 61 74 65 |},.{ weT|ranslate|
|00000600| 44 72 61 67 48 6f 6f 6b | 2c 09 09 09 30 78 30 30 |DragHook|,...0x00|
|00000610| 42 30 2c 20 30 78 30 30 | 30 34 20 7d 2c 0d 23 65 |B0, 0x00|04 },.#e|
|00000620| 6e 64 69 66 0d 0d 23 69 | 66 20 57 41 53 54 45 5f |ndif..#i|f WASTE_|
|00000630| 54 52 41 4e 53 4c 55 43 | 45 4e 54 5f 44 52 41 47 |TRANSLUC|ENT_DRAG|
|00000640| 53 0d 7b 20 77 65 54 72 | 61 6e 73 6c 75 63 65 6e |S.{ weTr|anslucen|
|00000650| 63 79 54 68 72 65 73 68 | 6f 6c 64 2c 09 09 30 78 |cyThresh|old,..0x|
|00000660| 30 30 46 34 2c 20 30 78 | 30 30 30 34 20 7d 2c 0d |00F4, 0x|0004 },.|
|00000670| 23 65 6e 64 69 66 0d 0d | 23 69 66 20 57 41 53 54 |#endif..|#if WAST|
|00000680| 45 5f 49 43 5f 53 55 50 | 50 4f 52 54 0d 7b 20 77 |E_IC_SUP|PORT.{ w|
|00000690| 65 55 52 4c 48 69 6e 74 | 2c 09 09 09 09 09 30 78 |eURLHint|,.....0x|
|000006a0| 30 30 46 38 2c 20 30 78 | 30 30 30 34 20 7d 2c 0d |00F8, 0x|0004 },.|
|000006b0| 23 65 6e 64 69 66 0d 0d | 7b 20 30 2c 20 09 09 09 |#endif..|{ 0, ...|
|000006c0| 09 09 30 2c 20 30 20 7d | 7d 3b 0d 0d 23 69 66 20 |..0, 0 }|};..#if |
|000006d0| 57 41 53 54 45 5f 4f 42 | 4a 45 43 54 53 0d 0d 57 |WASTE_OB|JECTS..W|
|000006e0| 45 4c 6f 6f 6b 75 70 54 | 61 62 6c 65 20 5f 77 65 |ELookupT|able _we|
|000006f0| 4f 62 6a 65 63 74 48 61 | 6e 64 6c 65 72 53 65 6c |ObjectHa|ndlerSel|
|00000700| 65 63 74 6f 72 54 61 62 | 6c 65 5b 5d 20 3d 20 7b |ectorTab|le[] = {|
|00000710| 0d 7b 20 77 65 43 6c 69 | 63 6b 48 61 6e 64 6c 65 |.{ weCli|ckHandle|
|00000720| 72 2c 09 09 30 78 30 30 | 31 30 2c 20 30 78 30 30 |r,..0x00|10, 0x00|
|00000730| 30 34 20 7d 2c 0d 7b 20 | 77 65 44 72 61 77 48 61 |04 },.{ |weDrawHa|
|00000740| 6e 64 6c 65 72 2c 09 09 | 30 78 30 30 30 43 2c 20 |ndler,..|0x000C, |
|00000750| 30 78 30 30 30 34 20 7d | 2c 0d 7b 20 77 65 44 69 |0x0004 }|,.{ weDi|
|00000760| 73 70 6f 73 65 48 61 6e | 64 6c 65 72 2c 09 09 30 |sposeHan|dler,..0|
|00000770| 78 30 30 30 38 2c 20 30 | 78 30 30 30 34 20 7d 2c |x0008, 0|x0004 },|
|00000780| 0d 7b 20 77 65 4e 65 77 | 48 61 6e 64 6c 65 72 2c |.{ weNew|Handler,|
|00000790| 09 09 09 30 78 30 30 30 | 34 2c 20 30 78 30 30 30 |...0x000|4, 0x000|
|000007a0| 34 20 7d 2c 0d 7b 20 77 | 65 53 74 72 65 61 6d 48 |4 },.{ w|eStreamH|
|000007b0| 61 6e 64 6c 65 72 2c 20 | 20 20 20 20 20 30 78 30 |andler, | 0x0|
|000007c0| 30 31 34 2c 20 30 78 30 | 30 30 34 20 7d 2c 0d 7b |014, 0x0|004 },.{|
|000007d0| 20 77 65 52 65 66 43 6f | 6e 2c 20 20 20 20 20 20 | weRefCo|n, |
|000007e0| 20 20 20 20 20 20 20 30 | 78 30 30 31 38 2c 20 30 | 0|x0018, 0|
|000007f0| 78 30 30 30 34 20 7d 2c | 0d 7b 20 30 2c 20 09 09 |x0004 },|.{ 0, ..|
|00000800| 09 09 09 30 2c 20 30 20 | 7d 7d 3b 0d 0d 23 65 6e |...0, 0 |}};..#en|
|00000810| 64 69 66 20 20 2f 2f 20 | 57 41 53 54 45 5f 4f 42 |dif // |WASTE_OB|
|00000820| 4a 45 43 54 53 0d 0d 23 | 65 6c 73 65 0d 0d 2f 2f |JECTS..#|else..//|
|00000830| 20 70 72 6f 70 65 72 20 | 77 61 79 20 6f 66 20 64 | proper |way of d|
|00000840| 65 66 69 6e 69 6e 67 20 | 73 65 6c 65 63 74 6f 72 |efining |selector|
|00000850| 20 74 61 62 6c 65 73 0d | 0d 23 64 65 66 69 6e 65 | tables.|.#define|
|00000860| 20 46 49 45 4c 44 5f 4f | 46 46 53 45 54 28 46 49 | FIELD_O|FFSET(FI|
|00000870| 45 4c 44 2c 20 53 54 52 | 55 43 54 29 09 09 28 69 |ELD, STR|UCT)..(i|
|00000880| 6e 74 29 20 26 28 28 53 | 54 52 55 43 54 20 2a 29 |nt) &((S|TRUCT *)|
|00000890| 20 30 4c 29 2d 3e 46 49 | 45 4c 44 0d 23 64 65 66 | 0L)->FI|ELD.#def|
|000008a0| 69 6e 65 20 46 49 45 4c | 44 5f 53 49 5a 45 28 46 |ine FIEL|D_SIZE(F|
|000008b0| 49 45 4c 44 2c 20 53 54 | 52 55 43 54 29 09 09 73 |IELD, ST|RUCT)..s|
|000008c0| 69 7a 65 6f 66 28 28 28 | 53 54 52 55 43 54 20 2a |izeof(((|STRUCT *|
|000008d0| 29 20 30 4c 29 2d 3e 46 | 49 45 4c 44 29 0d 23 64 |) 0L)->F|IELD).#d|
|000008e0| 65 66 69 6e 65 20 46 49 | 45 4c 44 5f 44 45 53 43 |efine FI|ELD_DESC|
|000008f0| 28 46 49 45 4c 44 2c 20 | 53 54 52 55 43 54 29 09 |(FIELD, |STRUCT).|
|00000900| 09 7b 20 46 49 45 4c 44 | 5f 4f 46 46 53 45 54 28 |.{ FIELD|_OFFSET(|
|00000910| 46 49 45 4c 44 2c 20 53 | 54 52 55 43 54 29 2c 20 |FIELD, S|TRUCT), |
|00000920| 46 49 45 4c 44 5f 53 49 | 5a 45 28 46 49 45 4c 44 |FIELD_SI|ZE(FIELD|
|00000930| 2c 20 53 54 52 55 43 54 | 29 20 7d 0d 0d 57 45 4c |, STRUCT|) }..WEL|
|00000940| 6f 6f 6b 75 70 54 61 62 | 6c 65 20 5f 77 65 4d 61 |ookupTab|le _weMa|
|00000950| 69 6e 53 65 6c 65 63 74 | 6f 72 54 61 62 6c 65 5b |inSelect|orTable[|
|00000960| 5d 20 3d 20 7b 0d 7b 20 | 77 65 52 65 66 43 6f 6e |] = {.{ |weRefCon|
|00000970| 2c 20 20 20 20 20 09 09 | 09 46 49 45 4c 44 5f 44 |, ..|.FIELD_D|
|00000980| 45 53 43 28 72 65 66 43 | 6f 6e 2c 20 20 20 20 20 |ESC(refC|on, |
|00000990| 20 20 20 20 20 20 20 09 | 09 57 45 52 65 63 29 20 | .|.WERec) |
|000009a0| 7d 2c 0d 7b 20 77 65 50 | 6f 72 74 2c 09 09 09 09 |},.{ weP|ort,....|
|000009b0| 09 46 49 45 4c 44 5f 44 | 45 53 43 28 70 6f 72 74 |.FIELD_D|ESC(port|
|000009c0| 2c 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 09 |, | .|
|000009d0| 09 57 45 52 65 63 29 20 | 7d 2c 0d 7b 20 77 65 54 |.WERec) |},.{ weT|
|000009e0| 65 78 74 2c 09 09 09 09 | 09 46 49 45 4c 44 5f 44 |ext,....|.FIELD_D|
|000009f0| 45 53 43 28 68 54 65 78 | 74 2c 20 20 20 20 20 20 |ESC(hTex|t, |
|00000a00| 20 20 20 20 20 20 20 09 | 09 57 45 52 65 63 29 20 | .|.WERec) |
|00000a10| 7d 2c 0d 7b 20 77 65 43 | 68 61 72 54 6f 50 69 78 |},.{ weC|harToPix|
|00000a20| 65 6c 48 6f 6f 6b 2c 09 | 09 46 49 45 4c 44 5f 44 |elHook,.|.FIELD_D|
|00000a30| 45 53 43 28 63 68 61 72 | 54 6f 50 69 78 65 6c 48 |ESC(char|ToPixelH|
|00000a40| 6f 6f 6b 2c 20 20 20 09 | 09 57 45 52 65 63 29 20 |ook, .|.WERec) |
|00000a50| 7d 2c 0d 7b 20 77 65 43 | 68 61 72 42 79 74 65 48 |},.{ weC|harByteH|
|00000a60| 6f 6f 6b 2c 09 09 09 46 | 49 45 4c 44 5f 44 45 53 |ook,...F|IELD_DES|
|00000a70| 43 28 63 68 61 72 42 79 | 74 65 48 6f 6f 6b 2c 20 |C(charBy|teHook, |
|00000a80| 20 20 20 20 20 09 09 57 | 45 52 65 63 29 20 7d 2c | ..W|ERec) },|
|00000a90| 0d 7b 20 77 65 43 68 61 | 72 54 79 70 65 48 6f 6f |.{ weCha|rTypeHoo|
|00000aa0| 6b 2c 09 09 09 46 49 45 | 4c 44 5f 44 45 53 43 28 |k,...FIE|LD_DESC(|
|00000ab0| 63 68 61 72 54 79 70 65 | 48 6f 6f 6b 2c 20 20 20 |charType|Hook, |
|00000ac0| 20 20 20 09 09 57 45 52 | 65 63 29 20 7d 2c 0d 7b | ..WER|ec) },.{|
|00000ad0| 20 77 65 43 6c 69 63 6b | 4c 6f 6f 70 2c 09 09 09 | weClick|Loop,...|
|00000ae0| 09 46 49 45 4c 44 5f 44 | 45 53 43 28 63 6c 69 63 |.FIELD_D|ESC(clic|
|00000af0| 6b 4c 6f 6f 70 2c 20 20 | 20 20 20 20 20 20 20 09 |kLoop, | .|
|00000b00| 09 57 45 52 65 63 29 20 | 7d 2c 0d 7b 20 77 65 44 |.WERec) |},.{ weD|
|00000b10| 72 61 77 54 65 78 74 48 | 6f 6f 6b 2c 09 09 09 46 |rawTextH|ook,...F|
|00000b20| 49 45 4c 44 5f 44 45 53 | 43 28 64 72 61 77 54 65 |IELD_DES|C(drawTe|
|00000b30| 78 74 48 6f 6f 6b 2c 20 | 20 20 20 20 20 09 09 57 |xtHook, | ..W|
|00000b40| 45 52 65 63 29 20 7d 2c | 0d 7b 20 77 65 45 72 61 |ERec) },|.{ weEra|
|00000b50| 73 65 48 6f 6f 6b 2c 09 | 09 09 09 46 49 45 4c 44 |seHook,.|...FIELD|
|00000b60| 5f 44 45 53 43 28 65 72 | 61 73 65 48 6f 6f 6b 2c |_DESC(er|aseHook,|
|00000b70| 09 09 09 09 57 45 52 65 | 63 29 20 7d 2c 0d 7b 20 |....WERe|c) },.{ |
|00000b80| 77 65 46 6c 75 78 50 72 | 6f 63 2c 09 09 09 09 46 |weFluxPr|oc,....F|
|00000b90| 49 45 4c 44 5f 44 45 53 | 43 28 66 6c 75 78 50 72 |IELD_DES|C(fluxPr|
|00000ba0| 6f 63 2c 09 09 09 09 57 | 45 52 65 63 29 20 7d 2c |oc,....W|ERec) },|
|00000bb0| 0d 7b 20 77 65 4c 69 6e | 65 42 72 65 61 6b 48 6f |.{ weLin|eBreakHo|
|00000bc0| 6f 6b 2c 09 09 09 46 49 | 45 4c 44 5f 44 45 53 43 |ok,...FI|ELD_DESC|
|00000bd0| 28 6c 69 6e 65 42 72 65 | 61 6b 48 6f 6f 6b 2c 20 |(lineBre|akHook, |
|00000be0| 20 20 20 20 09 09 57 45 | 52 65 63 29 20 7d 2c 0d | ..WE|Rec) },.|
|00000bf0| 7b 20 77 65 4c 69 6e 65 | 41 72 72 61 79 2c 09 09 |{ weLine|Array,..|
|00000c00| 09 09 46 49 45 4c 44 5f | 44 45 53 43 28 68 4c 69 |..FIELD_|DESC(hLi|
|00000c10| 6e 65 73 2c 20 20 20 20 | 20 20 20 20 20 20 20 20 |nes, | |
|00000c20| 09 09 57 45 52 65 63 29 | 20 7d 2c 0d 7b 20 77 65 |..WERec)| },.{ we|
|00000c30| 50 69 78 65 6c 54 6f 43 | 68 61 72 48 6f 6f 6b 2c |PixelToC|harHook,|
|00000c40| 09 09 46 49 45 4c 44 5f | 44 45 53 43 28 70 69 78 |..FIELD_|DESC(pix|
|00000c50| 65 6c 54 6f 43 68 61 72 | 48 6f 6f 6b 2c 20 20 20 |elToChar|Hook, |
|00000c60| 09 09 57 45 52 65 63 29 | 20 7d 2c 0d 7b 20 77 65 |..WERec)| },.{ we|
|00000c70| 52 75 6e 41 72 72 61 79 | 2c 09 09 09 09 46 49 45 |RunArray|,....FIE|
|00000c80| 4c 44 5f 44 45 53 43 28 | 68 52 75 6e 73 2c 20 20 |LD_DESC(|hRuns, |
|00000c90| 20 20 20 20 20 20 20 20 | 20 20 20 09 09 57 45 52 | | ..WER|
|00000ca0| 65 63 29 20 7d 2c 0d 7b | 20 77 65 53 63 72 6f 6c |ec) },.{| weScrol|
|00000cb0| 6c 50 72 6f 63 2c 09 09 | 09 09 46 49 45 4c 44 5f |lProc,..|..FIELD_|
|00000cc0| 44 45 53 43 28 73 63 72 | 6f 6c 6c 50 72 6f 63 2c |DESC(scr|ollProc,|
|00000cd0| 20 20 20 20 20 20 20 20 | 09 09 57 45 52 65 63 29 | |..WERec)|
|00000ce0| 20 7d 2c 0d 7b 20 77 65 | 53 74 79 6c 65 54 61 62 | },.{ we|StyleTab|
|00000cf0| 6c 65 2c 09 09 09 09 46 | 49 45 4c 44 5f 44 45 53 |le,....F|IELD_DES|
|00000d00| 43 28 68 53 74 79 6c 65 | 73 2c 20 20 20 20 20 20 |C(hStyle|s, |
|00000d10| 20 20 20 20 20 09 09 57 | 45 52 65 63 29 20 7d 2c | ..W|ERec) },|
|00000d20| 0d 7b 20 77 65 57 6f 72 | 64 42 72 65 61 6b 48 6f |.{ weWor|dBreakHo|
|00000d30| 6f 6b 2c 09 09 09 46 49 | 45 4c 44 5f 44 45 53 43 |ok,...FI|ELD_DESC|
|00000d40| 28 77 6f 72 64 42 72 65 | 61 6b 48 6f 6f 6b 2c 09 |(wordBre|akHook,.|
|00000d50| 09 09 57 45 52 65 63 29 | 20 7d 2c 0d 0d 23 69 66 |..WERec)| },..#if|
|00000d60| 20 57 41 53 54 45 5f 54 | 53 4d 5f 53 55 50 50 4f | WASTE_T|SM_SUPPO|
|00000d70| 52 54 0d 7b 20 77 65 54 | 53 4d 50 6f 73 74 55 70 |RT.{ weT|SMPostUp|
|00000d80| 64 61 74 65 2c 09 09 09 | 46 49 45 4c 44 5f 44 45 |date,...|FIELD_DE|
|00000d90| 53 43 28 74 73 6d 50 6f | 73 74 55 70 64 61 74 65 |SC(tsmPo|stUpdate|
|00000da0| 2c 20 20 20 20 20 09 09 | 57 45 52 65 63 29 20 7d |, ..|WERec) }|
|00000db0| 2c 0d 7b 20 77 65 54 53 | 4d 50 72 65 55 70 64 61 |,.{ weTS|MPreUpda|
|00000dc0| 74 65 2c 09 09 09 46 49 | 45 4c 44 5f 44 45 53 43 |te,...FI|ELD_DESC|
|00000dd0| 28 74 73 6d 50 72 65 55 | 70 64 61 74 65 2c 20 20 |(tsmPreU|pdate, |
|00000de0| 20 20 20 20 09 09 57 45 | 52 65 63 29 20 7d 2c 0d | ..WE|Rec) },.|
|00000df0| 7b 20 77 65 54 53 4d 44 | 6f 63 75 6d 65 6e 74 49 |{ weTSMD|ocumentI|
|00000e00| 44 2c 09 09 09 46 49 45 | 4c 44 5f 44 45 53 43 28 |D,...FIE|LD_DESC(|
|00000e10| 74 73 6d 52 65 66 65 72 | 65 6e 63 65 2c 20 20 20 |tsmRefer|ence, |
|00000e20| 20 20 20 09 09 57 45 52 | 65 63 29 20 7d 2c 0d 23 | ..WER|ec) },.#|
|00000e30| 65 6e 64 69 66 0d 0d 23 | 69 66 20 57 41 53 54 45 |endif..#|if WASTE|
|00000e40| 5f 44 52 41 47 5f 41 4e | 44 5f 44 52 4f 50 0d 7b |_DRAG_AN|D_DROP.{|
|00000e50| 20 77 65 43 75 72 72 65 | 6e 74 44 72 61 67 2c 09 | weCurre|ntDrag,.|
|00000e60| 09 09 46 49 45 4c 44 5f | 44 45 53 43 28 63 75 72 |..FIELD_|DESC(cur|
|00000e70| 72 65 6e 74 44 72 61 67 | 2c 20 20 20 20 20 20 20 |rentDrag|, |
|00000e80| 09 09 57 45 52 65 63 29 | 20 7d 2c 0d 7b 20 77 65 |..WERec)| },.{ we|
|00000e90| 50 72 65 54 72 61 63 6b | 44 72 61 67 48 6f 6f 6b |PreTrack|DragHook|
|00000ea0| 2c 09 09 46 49 45 4c 44 | 5f 44 45 53 43 28 70 72 |,..FIELD|_DESC(pr|
|00000eb0| 65 54 72 61 63 6b 44 72 | 61 67 48 6f 6f 6b 2c 09 |eTrackDr|agHook,.|
|00000ec0| 09 57 45 52 65 63 29 20 | 7d 2c 0d 7b 20 77 65 48 |.WERec) |},.{ weH|
|00000ed0| 69 6c 69 74 65 44 72 6f | 70 41 72 65 61 48 6f 6f |iliteDro|pAreaHoo|
|00000ee0| 6b 2c 09 09 46 49 45 4c | 44 5f 44 45 53 43 28 68 |k,..FIEL|D_DESC(h|
|00000ef0| 69 6c 69 74 65 44 72 6f | 70 41 72 65 61 48 6f 6f |iliteDro|pAreaHoo|
|00000f00| 6b 2c 09 09 57 45 52 65 | 63 29 20 7d 2c 0d 7b 20 |k,..WERe|c) },.{ |
|00000f10| 77 65 54 72 61 6e 73 6c | 61 74 65 44 72 61 67 48 |weTransl|ateDragH|
|00000f20| 6f 6f 6b 2c 09 09 46 49 | 45 4c 44 5f 44 45 53 43 |ook,..FI|ELD_DESC|
|00000f30| 28 74 72 61 6e 73 6c 61 | 74 65 44 72 61 67 48 6f |(transla|teDragHo|
|00000f40| 6f 6b 2c 20 09 09 57 45 | 52 65 63 29 20 7d 2c 0d |ok, ..WE|Rec) },.|
|00000f50| 23 65 6e 64 69 66 0d 0d | 23 69 66 20 57 41 53 54 |#endif..|#if WAST|
|00000f60| 45 5f 54 52 41 4e 53 4c | 55 43 45 4e 54 5f 44 52 |E_TRANSL|UCENT_DR|
|00000f70| 41 47 53 0d 7b 20 77 65 | 54 72 61 6e 73 6c 75 63 |AGS.{ we|Transluc|
|00000f80| 65 6e 63 79 54 68 72 65 | 73 68 6f 6c 64 2c 20 09 |encyThre|shold, .|
|00000f90| 46 49 45 4c 44 5f 44 45 | 53 43 28 74 72 61 6e 73 |FIELD_DE|SC(trans|
|00000fa0| 6c 75 63 65 6e 63 79 54 | 68 72 65 73 68 6f 6c 64 |lucencyT|hreshold|
|00000fb0| 2c 09 57 45 52 65 63 29 | 20 7d 2c 0d 23 65 6e 64 |,.WERec)| },.#end|
|00000fc0| 69 66 0d 0d 23 69 66 20 | 57 41 53 54 45 5f 49 43 |if..#if |WASTE_IC|
|00000fd0| 5f 53 55 50 50 4f 52 54 | 0d 7b 20 77 65 55 52 4c |_SUPPORT|.{ weURL|
|00000fe0| 48 69 6e 74 2c 09 09 09 | 09 46 49 45 4c 44 5f 44 |Hint,...|.FIELD_D|
|00000ff0| 45 53 43 28 68 55 52 4c | 48 69 6e 74 2c 20 20 20 |ESC(hURL|Hint, |
|00001000| 20 20 20 20 20 20 20 09 | 09 57 45 52 65 63 29 20 | .|.WERec) |
|00001010| 7d 2c 0d 23 65 6e 64 69 | 66 0d 0d 7b 20 30 2c 20 |},.#endi|f..{ 0, |
|00001020| 09 09 09 09 09 30 2c 20 | 30 20 7d 7d 3b 0d 0d 23 |.....0, |0 }};..#|
|00001030| 69 66 20 57 41 53 54 45 | 5f 4f 42 4a 45 43 54 53 |if WASTE|_OBJECTS|
|00001040| 0d 0d 57 45 4c 6f 6f 6b | 75 70 54 61 62 6c 65 20 |..WELook|upTable |
|00001050| 5f 77 65 4f 62 6a 65 63 | 74 48 61 6e 64 6c 65 72 |_weObjec|tHandler|
|00001060| 53 65 6c 65 63 74 6f 72 | 54 61 62 6c 65 5b 5d 20 |Selector|Table[] |
|00001070| 3d 20 7b 0d 7b 20 77 65 | 43 6c 69 63 6b 48 61 6e |= {.{ we|ClickHan|
|00001080| 64 6c 65 72 2c 09 09 46 | 49 45 4c 44 5f 44 45 53 |dler,..F|IELD_DES|
|00001090| 43 28 63 6c 69 63 6b 48 | 61 6e 64 6c 65 72 2c 20 |C(clickH|andler, |
|000010a0| 20 20 20 20 20 57 45 4f | 48 54 61 62 6c 65 45 6e | WEO|HTableEn|
|000010b0| 74 72 79 29 20 7d 2c 0d | 7b 20 77 65 44 72 61 77 |try) },.|{ weDraw|
|000010c0| 48 61 6e 64 6c 65 72 2c | 09 09 46 49 45 4c 44 5f |Handler,|..FIELD_|
|000010d0| 44 45 53 43 28 64 72 61 | 77 48 61 6e 64 6c 65 72 |DESC(dra|wHandler|
|000010e0| 2c 20 20 20 20 20 20 20 | 57 45 4f 48 54 61 62 6c |, |WEOHTabl|
|000010f0| 65 45 6e 74 72 79 29 20 | 7d 2c 0d 7b 20 77 65 44 |eEntry) |},.{ weD|
|00001100| 69 73 70 6f 73 65 48 61 | 6e 64 6c 65 72 2c 09 09 |isposeHa|ndler,..|
|00001110| 46 49 45 4c 44 5f 44 45 | 53 43 28 66 72 65 65 48 |FIELD_DE|SC(freeH|
|00001120| 61 6e 64 6c 65 72 2c 20 | 20 20 20 20 20 20 57 45 |andler, | WE|
|00001130| 4f 48 54 61 62 6c 65 45 | 6e 74 72 79 29 20 7d 2c |OHTableE|ntry) },|
|00001140| 0d 7b 20 77 65 4e 65 77 | 48 61 6e 64 6c 65 72 2c |.{ weNew|Handler,|
|00001150| 09 09 09 46 49 45 4c 44 | 5f 44 45 53 43 28 6e 65 |...FIELD|_DESC(ne|
|00001160| 77 48 61 6e 64 6c 65 72 | 2c 20 20 20 20 20 20 20 |wHandler|, |
|00001170| 20 57 45 4f 48 54 61 62 | 6c 65 45 6e 74 72 79 29 | WEOHTab|leEntry)|
|00001180| 20 7d 2c 0d 7b 20 77 65 | 53 74 72 65 61 6d 48 61 | },.{ we|StreamHa|
|00001190| 6e 64 6c 65 72 2c 20 20 | 20 20 20 20 46 49 45 4c |ndler, | FIEL|
|000011a0| 44 5f 44 45 53 43 28 73 | 74 72 65 61 6d 48 61 6e |D_DESC(s|treamHan|
|000011b0| 64 6c 65 72 2c 20 20 20 | 20 20 57 45 4f 48 54 61 |dler, | WEOHTa|
|000011c0| 62 6c 65 45 6e 74 72 79 | 29 20 7d 2c 0d 7b 20 77 |bleEntry|) },.{ w|
|000011d0| 65 52 65 66 43 6f 6e 2c | 20 20 20 20 20 20 20 20 |eRefCon,| |
|000011e0| 20 20 20 20 20 46 49 45 | 4c 44 5f 44 45 53 43 28 | FIE|LD_DESC(|
|000011f0| 72 65 66 43 6f 6e 2c 20 | 20 20 20 20 20 20 20 20 |refCon, | |
|00001200| 20 20 20 57 45 4f 48 54 | 61 62 6c 65 45 6e 74 72 | WEOHT|ableEntr|
|00001210| 79 29 20 7d 2c 0d 7b 20 | 30 2c 20 09 09 09 09 09 |y) },.{ |0, .....|
|00001220| 30 2c 20 30 20 7d 7d 3b | 0d 0d 23 65 6e 64 69 66 |0, 0 }};|..#endif|
|00001230| 09 2f 2f 20 57 41 53 54 | 45 5f 4f 42 4a 45 43 54 |.// WAST|E_OBJECT|
|00001240| 53 0d 0d 23 65 6e 64 69 | 66 09 2f 2f 20 21 61 70 |S..#endi|f.// !ap|
|00001250| 70 6c 65 63 0d 0d 70 61 | 73 63 61 6c 20 76 6f 69 |plec..pa|scal voi|
|00001260| 64 20 5f 57 45 4c 6f 6f | 6b 75 70 53 65 6c 65 63 |d _WELoo|kupSelec|
|00001270| 74 6f 72 28 63 6f 6e 73 | 74 20 57 45 4c 6f 6f 6b |tor(cons|t WELook|
|00001280| 75 70 54 61 62 6c 65 20 | 2a 74 61 62 6c 65 2c 20 |upTable |*table, |
|00001290| 57 45 53 65 6c 65 63 74 | 6f 72 20 73 65 6c 65 63 |WESelect|or selec|
|000012a0| 74 6f 72 2c 20 57 45 46 | 69 65 6c 64 44 65 73 63 |tor, WEF|ieldDesc|
|000012b0| 72 69 70 74 6f 72 20 2a | 64 65 73 63 29 0d 7b 0d |riptor *|desc).{.|
|000012c0| 09 66 6f 72 20 28 20 3b | 20 74 61 62 6c 65 2d 3e |.for ( ;| table->|
|000012d0| 73 65 6c 65 63 74 6f 72 | 20 21 3d 20 73 65 6c 65 |selector| != sele|
|000012e0| 63 74 6f 72 20 3b 20 74 | 61 62 6c 65 2b 2b 20 29 |ctor ; t|able++ )|
|000012f0| 0d 09 7b 0d 09 09 69 66 | 20 28 20 2a 20 28 53 49 |..{...if| ( * (SI|
|00001300| 6e 74 33 32 20 2a 29 20 | 26 28 74 61 62 6c 65 2d |nt32 *) |&(table-|
|00001310| 3e 64 65 73 63 29 20 3d | 3d 20 30 4c 20 29 0d 09 |>desc) =|= 0L )..|
|00001320| 09 7b 0d 09 09 09 62 72 | 65 61 6b 3b 0d 09 09 7d |.{....br|eak;...}|
|00001330| 0d 09 7d 0d 0d 09 2a 64 | 65 73 63 20 3d 20 74 61 |..}...*d|esc = ta|
|00001340| 62 6c 65 2d 3e 64 65 73 | 63 3b 0d 7d 0d 0d 70 61 |ble->des|c;.}..pa|
|00001350| 73 63 61 6c 20 4f 53 45 | 72 72 20 5f 57 45 47 65 |scal OSE|rr _WEGe|
|00001360| 74 46 69 65 6c 64 28 63 | 6f 6e 73 74 20 57 45 4c |tField(c|onst WEL|
|00001370| 6f 6f 6b 75 70 54 61 62 | 6c 65 20 2a 74 61 62 6c |ookupTab|le *tabl|
|00001380| 65 2c 20 57 45 53 65 6c | 65 63 74 6f 72 20 73 65 |e, WESel|ector se|
|00001390| 6c 65 63 74 6f 72 2c 20 | 53 49 6e 74 33 32 20 2a |lector, |SInt32 *|
|000013a0| 69 6e 66 6f 2c 20 76 6f | 69 64 20 2a 73 74 72 75 |info, vo|id *stru|
|000013b0| 63 74 75 72 65 29 0d 7b | 0d 09 57 45 46 69 65 6c |cture).{|..WEFiel|
|000013c0| 64 44 65 73 63 72 69 70 | 74 6f 72 20 64 65 73 63 |dDescrip|tor desc|
|000013d0| 3b 0d 0d 09 5f 57 45 4c | 6f 6f 6b 75 70 53 65 6c |;..._WEL|ookupSel|
|000013e0| 65 63 74 6f 72 28 74 61 | 62 6c 65 2c 20 73 65 6c |ector(ta|ble, sel|
|000013f0| 65 63 74 6f 72 2c 20 26 | 64 65 73 63 29 3b 0d 0d |ector, &|desc);..|
|00001400| 09 69 66 20 28 64 65 73 | 63 2e 66 4c 65 6e 67 74 |.if (des|c.fLengt|
|00001410| 68 20 3d 3d 20 30 29 0d | 09 7b 0d 09 09 72 65 74 |h == 0).|.{...ret|
|00001420| 75 72 6e 20 77 65 55 6e | 64 65 66 69 6e 65 64 53 |urn weUn|definedS|
|00001430| 65 6c 65 63 74 6f 72 45 | 72 72 3b 0d 09 7d 0d 0d |electorE|rr;..}..|
|00001440| 09 2a 69 6e 66 6f 20 3d | 20 2a 20 28 53 49 6e 74 |.*info =| * (SInt|
|00001450| 33 32 20 2a 29 20 28 28 | 53 49 6e 74 33 32 29 20 |32 *) ((|SInt32) |
|00001460| 73 74 72 75 63 74 75 72 | 65 20 2b 20 64 65 73 63 |structur|e + desc|
|00001470| 2e 66 4f 66 66 73 65 74 | 29 3b 0d 09 72 65 74 75 |.fOffset|);..retu|
|00001480| 72 6e 20 6e 6f 45 72 72 | 3b 0d 7d 0d 0d 70 61 73 |rn noErr|;.}..pas|
|00001490| 63 61 6c 20 4f 53 45 72 | 72 20 5f 57 45 53 65 74 |cal OSEr|r _WESet|
|000014a0| 46 69 65 6c 64 28 63 6f | 6e 73 74 20 57 45 4c 6f |Field(co|nst WELo|
|000014b0| 6f 6b 75 70 54 61 62 6c | 65 20 2a 74 61 62 6c 65 |okupTabl|e *table|
|000014c0| 2c 20 57 45 53 65 6c 65 | 63 74 6f 72 20 73 65 6c |, WESele|ctor sel|
|000014d0| 65 63 74 6f 72 2c 20 53 | 49 6e 74 33 32 20 2a 69 |ector, S|Int32 *i|
|000014e0| 6e 66 6f 2c 20 76 6f 69 | 64 20 2a 73 74 72 75 63 |nfo, voi|d *struc|
|000014f0| 74 75 72 65 29 0d 7b 0d | 09 57 45 46 69 65 6c 64 |ture).{.|.WEField|
|00001500| 44 65 73 63 72 69 70 74 | 6f 72 20 64 65 73 63 3b |Descript|or desc;|
|00001510| 0d 0d 09 5f 57 45 4c 6f | 6f 6b 75 70 53 65 6c 65 |..._WELo|okupSele|
|00001520| 63 74 6f 72 28 74 61 62 | 6c 65 2c 20 73 65 6c 65 |ctor(tab|le, sele|
|00001530| 63 74 6f 72 2c 20 26 64 | 65 73 63 29 3b 0d 0d 09 |ctor, &d|esc);...|
|00001540| 69 66 20 28 64 65 73 63 | 2e 66 4c 65 6e 67 74 68 |if (desc|.fLength|
|00001550| 20 3d 3d 20 30 29 0d 09 | 7b 0d 09 09 72 65 74 75 | == 0)..|{...retu|
|00001560| 72 6e 20 77 65 55 6e 64 | 65 66 69 6e 65 64 53 65 |rn weUnd|efinedSe|
|00001570| 6c 65 63 74 6f 72 45 72 | 72 3b 0d 09 7d 0d 0d 09 |lectorEr|r;..}...|
|00001580| 2a 20 28 53 49 6e 74 33 | 32 20 2a 29 20 28 28 53 |* (SInt3|2 *) ((S|
|00001590| 49 6e 74 33 32 29 20 73 | 74 72 75 63 74 75 72 65 |Int32) s|tructure|
|000015a0| 20 2b 20 64 65 73 63 2e | 66 4f 66 66 73 65 74 29 | + desc.|fOffset)|
|000015b0| 20 3d 20 2a 69 6e 66 6f | 3b 0d 09 72 65 74 75 72 | = *info|;..retur|
|000015c0| 6e 20 6e 6f 45 72 72 3b | 0d 7d 0d 0d 70 61 73 63 |n noErr;|.}..pasc|
|000015d0| 61 6c 20 4f 53 45 72 72 | 20 57 45 47 65 74 49 6e |al OSErr| WEGetIn|
|000015e0| 66 6f 28 57 45 53 65 6c | 65 63 74 6f 72 20 73 65 |fo(WESel|ector se|
|000015f0| 6c 65 63 74 6f 72 2c 20 | 76 6f 69 64 20 2a 69 6e |lector, |void *in|
|00001600| 66 6f 2c 20 57 45 48 61 | 6e 64 6c 65 20 68 57 45 |fo, WEHa|ndle hWE|
|00001610| 29 0d 7b 0d 09 72 65 74 | 75 72 6e 20 5f 57 45 47 |).{..ret|urn _WEG|
|00001620| 65 74 46 69 65 6c 64 28 | 5f 77 65 4d 61 69 6e 53 |etField(|_weMainS|
|00001630| 65 6c 65 63 74 6f 72 54 | 61 62 6c 65 2c 20 73 65 |electorT|able, se|
|00001640| 6c 65 63 74 6f 72 2c 20 | 28 53 49 6e 74 33 32 20 |lector, |(SInt32 |
|00001650| 2a 29 20 69 6e 66 6f 2c | 20 2a 68 57 45 29 3b 0d |*) info,| *hWE);.|
|00001660| 7d 0d 0d 70 61 73 63 61 | 6c 20 4f 53 45 72 72 20 |}..pasca|l OSErr |
|00001670| 57 45 53 65 74 49 6e 66 | 6f 28 57 45 53 65 6c 65 |WESetInf|o(WESele|
|00001680| 63 74 6f 72 20 73 65 6c | 65 63 74 6f 72 2c 20 63 |ctor sel|ector, c|
|00001690| 6f 6e 73 74 20 76 6f 69 | 64 20 2a 69 6e 66 6f 2c |onst voi|d *info,|
|000016a0| 20 57 45 48 61 6e 64 6c | 65 20 68 57 45 29 0d 7b | WEHandl|e hWE).{|
|000016b0| 0d 09 4f 53 45 72 72 20 | 65 72 72 3b 0d 0d 09 65 |..OSErr |err;...e|
|000016c0| 72 72 20 3d 20 5f 57 45 | 53 65 74 46 69 65 6c 64 |rr = _WE|SetField|
|000016d0| 28 5f 77 65 4d 61 69 6e | 53 65 6c 65 63 74 6f 72 |(_weMain|Selector|
|000016e0| 54 61 62 6c 65 2c 20 73 | 65 6c 65 63 74 6f 72 2c |Table, s|elector,|
|000016f0| 20 28 53 49 6e 74 33 32 | 20 2a 29 20 69 6e 66 6f | (SInt32| *) info|
|00001700| 2c 20 2a 68 57 45 29 3b | 0d 0d 09 2f 2f 20 74 68 |, *hWE);|...// th|
|00001710| 65 20 68 6f 6f 6b 20 66 | 69 65 6c 64 73 20 63 61 |e hook f|ields ca|
|00001720| 6e 20 6e 65 76 65 72 20 | 62 65 20 6e 69 6c 2c 20 |n never |be nil, |
|00001730| 73 6f 20 72 65 70 6c 61 | 63 65 20 61 6e 79 20 6e |so repla|ce any n|
|00001740| 69 6c 20 66 69 65 6c 64 | 20 77 69 74 68 20 74 68 |il field| with th|
|00001750| 65 20 64 65 66 61 75 6c | 74 20 61 64 64 72 65 73 |e defaul|t addres|
|00001760| 73 0d 09 5f 57 45 53 65 | 74 53 74 61 6e 64 61 72 |s.._WESe|tStandar|
|00001770| 64 48 6f 6f 6b 73 28 68 | 57 45 29 3b 0d 0d 09 72 |dHooks(h|WE);...r|
|00001780| 65 74 75 72 6e 20 65 72 | 72 3b 0d 7d 0d 00 00 00 |eturn er|r;.}....|
|00001790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001800| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00001810| 45 9d ff ff 24 00 0f ea | 00 00 30 d8 74 d7 ff ff |E...$...|..0.t...|
|00001820| 24 00 13 c5 00 00 3c c0 | 6f 2a ff ff 24 00 17 a0 |$.....<.|o*..$...|
|00001830| 0d 57 45 53 65 6c 65 63 | 74 6f 72 73 2e 63 72 73 |.WESelec|tors.crs|
|00001840| 20 44 42 63 63 63 74 73 | 32 70 65 72 6f 6d 6c 6d | DBcccts|2peromlm|
|00001850| 02 00 54 45 58 54 43 57 | 49 45 01 00 ff ff ff ff |..TEXTCW|IE......|
|00001860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001870| 00 00 ab 10 bc e8 00 00 | 17 0d 00 00 01 ac ff ff |........|........|
|00001880| 24 00 32 9d 00 00 3e 38 | 51 f0 ff ff 24 00 36 78 |$.2...>8|Q...$.6x|
|00001890| 00 00 3e 24 08 d5 ff ff | 24 00 3a db 00 00 3e 04 |..>$....|$.:...>.|
|000018a0| 37 ee ff ff 24 00 42 c4 | 00 00 3d e0 62 a4 ff ff |7...$.B.|..=.b...|
|000018b0| 24 00 4b a7 00 00 3d bc | 41 c8 ff ff 24 00 54 8a |$.K...=.|A...$.T.|
|000018c0| 00 00 3d 80 20 60 ff ff | 24 00 5d 6d 00 00 3c 98 |..=. `..|$.]m..<.|
|000018d0| 23 96 ff ff 24 00 66 50 | 00 00 3f 64 4b db ff ff |#...$.fP|..?dK...|
|000018e0| 24 00 6f 33 00 00 3f 54 | 76 53 ff ff 24 00 78 16 |$.o3..?T|vS..$.x.|
|000018f0| 00 00 3f 38 49 76 ff ff | 24 00 80 f9 00 00 3f 1c |..?8Iv..|$.....?.|
|00001900| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00001910| 07 9f d0 dc 03 32 00 00 | 00 1c 00 1e ff ff 00 00 |.....2..|........|
|00001920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+